package com.smedi.ismedi.inmail.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @className: AppVersionEntity
 * @Description: TODO
 * @version: v1.0.0
 * @author: wzx
 * @date: 2023/8/30 10:30
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName(value = "iml_app_version" )
public class AppVersionEntity extends BasicFieldEntity implements Serializable  {

    /**
     *  版本号第一位
     */
    @TableField(value = "version_one")
    private String versionOne;
    /**
     *  版本号第二位
     */
    @TableField(value = "version_two")
    private String versionTwo;
    /**
     *  版本号第三位
     */
    @TableField(value = "version_three")
    private String versionThree;
    /**
     *  更新地址
     */
    @TableField(value = "address")
    private String address;
    /**
     *  更新方式
     */
    @TableField(value = "method")
    private String method;
    /**
     *  系统
     */
    @TableField(value = "system_type")
    private String systemType;
    /**
     *  更新内容
     */
    @TableField(value = "content")
    private String content;
    /**
     * 状态
     * */
    @TableField(value = "enable")
    private Boolean enable;

    @TableField(value = "update_time")
    private LocalDateTime updateTime;

}